#ifndef __myTwoOptNext_h__
#define __myTwoOptNext_h__

#include <utility>
#include "edaMoveGen.h"
#include "myDefine.h"
#include "graph.h"

class myTwoOptNext: public edaMoveGen
{
 public:
  myTwoOptNext();
  myTwoOptNext(const Graph &g);
  // Copy constructor
  myTwoOptNext(const myTwoOptNext &m);

  ~myTwoOptNext();

  edaMoveGen *clone() const;

  virtual bool generate( edaMove *move, const edaSolution &sol );
  void Serialize( edaBuffer &buf, bool pack );

  setClassID(_USERCLASSID_ + _CLSID_TWO_OPT_NEXT_);

 private:
  Graph *graph;
};

#endif
